Skip to content

Conversation

@radik878
Copy link

@radik878 radik878 commented Nov 3, 2025

Motivation

  • unnecessary allocation in get_valid_delegation_addresses()
    and
  • unnecessary clone in blockchain_opts

Description

Remove to_string() in get_valid_delegation_addresses() and parse Address from &str, trimming whitespace to avoid parse errors from trailing spaces.
Remove redundant clone() of BlockchainOptions in init_l2(); init_blockchain takes ownership and the options are not reused.

@radik878 radik878 requested a review from a team as a code owner November 3, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant